home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Reference Guide
/
C-C++ Interactive Reference Guide.iso
/
c_ref
/
csource2
/
sclib_2
/
2_6
/
v6n6088d.txt
< prev
next >
Wrap
Text File
|
1995-11-01
|
267b
|
11 lines
\NLETTER\6.6\CURVES4.PRGProgram 4
r = y1; s = 0.5;
for (xi=x1; xi<=x2; xi++)
{
plot(xi,r);
if(s+m>=1)
{ r++; s += (m-1); }
else s += m;
}